import express from 'express';

import uploadController from './controller';
import auth from '../../common/middleware/auth'

const uploadRouter = express.Router();

/**
 * 上传头像
 */
uploadRouter.post('/avatar', auth.vertify, uploadController.uploadAvatar)


export default uploadRouter

